package com.kede.api.level.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kede.api.level.mapper.SyUserSignLogMapper;
import com.kede.api.level.domain.SyUserSignLog;
import com.kede.api.level.service.SyUserSignLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 用户签到记录表(SyUserSignLog)表服务实现类
 *
 * @author makejava
 * @since 2024-02-04 14:55:39
 */
@Service
public class SyUserSignLogServiceImpl extends ServiceImpl<SyUserSignLogMapper, SyUserSignLog> implements SyUserSignLogService {
    @Resource
    private SyUserSignLogMapper syUserSignLogMapper;
    @Override
    public List<SyUserSignLog> listPast6Days(Integer userId) {
        return syUserSignLogMapper.listPast6Days(userId);
    }
}

